Add `http.cainfo` config for custom certs
authorAlex Crichton <alex@alexcrichton.com>
Mon, 25 Jul 2016 18:53:42 +0000 (11:53 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 25 Jul 2016 18:53:42 +0000 (11:53 -0700)
commit8e8a2924aaef0086e534dc8c88d7ccecdf1c5eb3
treee83dcb0487c9d1427a4c44e8bf993091c6bb6942
parent664125b940f4d7deea7db02f96a7771ee64e0a62
Add `http.cainfo` config for custom certs

This adds a `http.cainfo` option to Cargo which reads CA information from a
bundle to pass through to the underlying SSL implementation. This should allow
configuration of Cargo in situations where the default certificate store doesn't
contain the relevant certificates, such as behind corporate proxies.

cc #1180
src/cargo/ops/registry.rs
src/doc/config.md